package com.zxjbyte.yiyi.server.domain.vo;

import com.zxjbyte.yiyi.framework.common.annotation.Desensitization;
import com.zxjbyte.yiyi.framework.common.enums.DesensTypeEnum;
import lombok.Data;

/**
 * @Author zhangxingjia
 * @Date 2023/7/6 19:57
 * @Version: 1.0
 */
@Data
public class DemoVO {
    /**
     * 自定义
     */
    @Desensitization(type = DesensTypeEnum.CUSTOMER, start = 5,end = 10)
    private String custom;
    /**
     * 手机号
     */
    @Desensitization(type = DesensTypeEnum.MOBILE_PHONE)
    private String phone;
    /**
     * 邮箱
     */
    @Desensitization(type = DesensTypeEnum.EMAIL)
    private String email;
    /**
     * 身份证
     */
    @Desensitization(type = DesensTypeEnum.ID_CARD)
    private String idCard;
}
